<?php



namespace App\Services\Other\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class UserPrize extends Model
{


    protected $table = 'user_prize';

    protected $fillable = [
        'product_id', 'quantity','user_id','point'
    ];
    public function product()
    {
        return $this->belongsTo(Product::class, 'product_id');
    }
}
